package com.erebus.service;


import org.springframework.http.ResponseEntity;

import java.io.IOException;

// 大衍筮法
public interface YanQiService {


    // 推算变
    int getBian(String redisKey);

    int getYao(String redisKey);

    ResponseEntity<byte[]> getImg(String redisKey) throws IOException;
    ResponseEntity<byte[]> getImgs(String codeStr) throws IOException;

    String getText(String redisKey);
    String getTexts(String codeStr);


}
